<dt class="db-order color03">
    <div style="float:right">
        <span>订单总额：{$r.order_price}</span>
        {if $r.amount gt 0}
        <br /><span class="color01">还需支付：{$r.amount}</span>
        {if $r.status lt 3}
        <a href="{'/order/pay/'|cat:$r.id|url}" target="_blank" class="db-btn">支付订单</a>
        {/if}
        {/if}
    </div>
    订单号：<span>{$r.order_sn}</span><br>
    下单时间：<span>{$r.c_time|date_format:'Y-m-d H:i:s'}</span><span style="color: #000">（{$r.order_code}）</span>
</dt>
{foreach from=$r.goods item=m}
<dt class="ui-clr" style="min-height:75px;">
    <div class="db-img"><a href="{$m.goods_url|default:$r.goods_url}" target="_blank"><img src="{$m.imgurl_thumb}" alt="{$m.goods_name}" width="90" /></a></div>
    <div class="db-txt">
        <p class="p1"><a href="{$m.goods_url|default:$r.goods_url}" target="_blank">{$m.goods_name}</a></p>
        <div>
            <span class="color01">{$r.status_name}</span><br/>
            {if $r.status eq 3}<a href="javascript:;" onclick="zz_confirm('您确认已经收到该订单商品？','{'/member/finish_order/'|cat:$r.id|url}')" class="btn-small">确认收货</a>{/if}
            {if $r.status eq 4 && $r.is_share eq 0}<a href="{'/member/post_share/'|cat:$r.id|url}" class="btn-small">晒单</a> {/if}
        </div>
    </div>
</dt>
<dd>
    <table cellpadding="0" cellspacing="0">
        <tr>
            <th>物流信息</th>
            <td>
                <div><span>{$r.name}</span> ({$r.mobile}) {$r.area} {$r.deliver}</div>
                {if $r.express_num}{$r.express_name}单号 : {$r.express_num} <br/><a class="color02" href="http://m.kuaidi100.com/result.jsp?com={$r.express_pinyin}&nu={$r.express_num}" target="_blank">查看物流</a> {/if}
            </td>
        </tr>
    </table>
</dd>
{/foreach}